﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TBlog.Helpers;

namespace TBlog.Models.ViewData
{
    public class PostModel
    {
        public IEnumerable<Category> Categorys { get; set; }
        public PaginatedList<Post> Posts { get; set; }
    }

    public class BlogCategory
    {
        public IEnumerable<Category> category { get; set; }
        public int categoryNumPost { get; set; }
    }

    public class PostPageModel
    {
        public Post post { get; set; }
        public IEnumerable<Category> category { get; set; }
        public StatusComments statusComments { get; set; }
    }

    public struct StatusComments
    {
        public string status;
    };

    //public class Category
    //{
    //    public string categoryId { get; set; }
    //    public string categoryName { get; set; }
    //    public string caregoryDescription { get; set; }
    //}
}